package com.longcai.mq.receiver;

import org.springframework.stereotype.Component;

/**
 * 消息消费者1
 *
 * @author zhuzhe
 * @date 2018/5/25 17:32
 * @email 1529949535@qq.com
 */
@Component
public class FirstConsumer {

 /*   @RabbitListener(queues = {QueueConfig.QUEUE_NAME1}, containerFactory = "rabbitListenerContainerFactory")
    @RabbitHandler
    public void handleMessage(String message) throws Exception {
        // 处理消息
        System.out.println("FirstConsumer {} handleMessage消费 :" + message);
    }*/
}
